<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>tuling test</title>

    <!-- 新 Bootstrap 核心 CSS 文件  这三个文件 使用 cdn 方式没有加载出来 -->
	<!-- <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css"> -->
	<link rel="stylesheet" href="../css/bootstrap.min.css">
	<link rel="stylesheet" href="../css/tuling.css">
	<link rel="stylesheet" type="text/css" href="../css/bootstrap-responsive.min.css">
	
	
  </head>
  <body>	


<!--
	<div class="container-fluid divBlock">
	<form class="bs-docs-example form-search">
            <input type="text" class="input-medium search-query">
            <button class="btn" type="submit">查询</button>
    </form>
</div>
-->

		<div class="container divBlock">
		<div>
			<input type="text" placeholder="input" name="info" class="text-info zn_input" />
			<button type="button" class="btn btn-primary">原始按钮</button>
		</div>
	</div>
 



<!--
	<div class="container-fluid divBlock"> 
		<div class="text-info" style="width:100px;height:30px;background-color:#DDD">
			
		</div>
		<div>
			<input type="text" placeholder="input" name="info" class="zn_input">
		</div>
	</div>
-->












	
	<!--  js 开始 -->
	<!-- 将 js 文件写到最后 ， 提升加载速度 -->
	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<!-- <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script> -->
	<script src="../js/jquery.min.js"></script>
	<!-- <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> -->
	<script src="../js/bootstrap.min.js"></script>
	
	<!-- 时间显示 js -->
	<script type="text/javascript" src="../js/1.js"></script>
	<!-- qq 在线聊天 -->
	<script src="../js/qqonline.js"></script>
	<!-- 分享到 -->
	<!-- <script type="text/javascript" src="../js/jiathis.js" charset="utf-8"></script> -->
	<!-- 校验js  -->
	<script type="text/javascript" src="../js/is.js"></script>
	<!-- 图片延迟加载 js -->
	<script type="text/javascript" src="../js/jquery.lazyload.js"></script>
	<!-- index 页面的js -->
	<script type="text/javascript" src="../js/index.js"></script>
	<!-- 百度地图 js -->
	<script type="text/javascript" src="../js/baidumap/baidumapak.js"></script>
	<script src="../js/baidumap/CurveLine.min.js"></script>
	<script type="text/javascript" src="../js/baidumap/SearchInfoWindow_min.js"></script>
	
	<script type="text/javascript"> 
		$(function() {
			//$('#newsBlock').hide();  // 隐藏新闻模块 div
			beginAutoRefreshNowTimeLabel();//开始刷新 时间
			initWeather();//初始化天气数据 天气， s
			initOnlineQQ();//初始化在线qq
			/* initJisThis();//初始化分享到 */
			
			//项目监控
			/*
			$("#xm_jk").click(function() {
								document.getElementById('main_content').src = 'http://192.168.2.117:8080/piaoyoung/monitoring';
							})
			*/
			
		});
		/**
		 * 初始化地图数据
		 */
			var map = new BMap.Map("mapDiv");
			map.centerAndZoom(new BMap.Point(120.2099600000, 30.2139150000), 15);
			map.addControl(new BMap.MapTypeControl());
			map.enableScrollWheelZoom(true);
			addMarker(new BMap.Point(120.2099600000, 30.2139150000));

			var content = '<div style="margin:0;line-height:20px;padding:2px;">'
					+ '<img src="../img/baidu.jpg" alt="" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>'
					+ '地址：北京市海淀区上地十街10号<br/>电话：(010)59928888<br/>简介：百度大厦位于北京市海淀区西二旗地铁站附近，为百度公司综合研发及办公总部。'
					+ '</div>';

			var searchInfoWindow = null;
			searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
				title : "dsfa",
				width : 290,
				height : 105,
				panel : "panel",
				enableAutoPan : true,
				searchTypes : [ BMAPLIB_TAB_SEARCH, BMAPLIB_TAB_TO_HERE,
						BMAPLIB_TAB_FROM_HERE ]
			});


		/**
		 * 添加地图标记 
		 * @param point
		 */
		function addMarker(point) {
			var marker = new BMap.Marker(point); 
			map.addOverlay(marker);
			marker.setAnimation(BMAP_ANIMATION_BOUNCE);
			marker.addEventListener("click", function(e) {
				searchInfoWindow.open(marker);
			})
		}
	</script>
	<!--  js 结束 -->
  </body>
</html>